include_directories(
  ${TQT_INCLUDE_DIRS}
  ${TDE_INCLUDE_DIR}
  ${CMAKE_CURRENT_SOURCE_DIR}
  ${CMAKE_CURRENT_BINARY_DIR}
)

link_directories(
  ${TQT_LIBRBARY_DIRS}
  ${TDE_LIB_DIR}
)

install(
  FILES gemini.protocol
  DESTINATION ${SERVICES_INSTALL_DIR}
)


### TDEIO::Job

tde_create_translated_desktop(
  SOURCE gemini.desktop
  DESTINATION ${MIME_INSTALL_DIR}/text
  PO_DIR mimetypes
)

tde_add_kpart(tdeio_gemini AUTOMOC
  SOURCES tdeio_gemini.cpp
  LINK tdeio-shared
  DESTINATION ${PLUGIN_INSTALL_DIR}
)


### KPart

tde_add_kpart(libtdegemini_part AUTOMOC
  SOURCES gemini_part.cpp
  LINK tdeparts-shared
  DESTINATION ${PLUGIN_INSTALL_DIR}
)

tde_create_translated_desktop(
  SOURCE gemini_part.desktop
  DESTINATION ${SERVICES_INSTALL_DIR}
)
